/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.investigateevidence.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 授权委托书信息表 case_document_authed_entrust_doc 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年02月17日
 */
@Data
@Table(name = "upcase.case_document_authed_entrust")
public class CaseDocumentAuthedEntrust implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 受委托人姓名
     */
    @Column(name = "authed_name")
    private String authedName;

    /**
     * 受委托人证件号
     */
    @Column(name = "authed_cert_no")
    private String authedCertNo;

    /**
     * 受委托人工作单位
     */
    @Column(name = "authed_unit_name")
    private String authedUnitName;

    /**
     * 受委托人职务
     */
    @Column(name = "authed_job")
    private String authedJob;

    /**
     * 受委托人住址
     */
    @Column(name = "authed_address")
    private String authedAddress;

    /**
     * 受委托人手机号码
     */
    @Column(name = "authed_mobile")
    private String authedMobile;

    /**
     * 委托权限
     */
    @Column(name = "authed_power")
    private String authedPower;

    /**
     * 委托时间
     */
    @Column(name = "authed_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime authedTime;

    /**
     * 关联文书目录编码
     */
    @Column(name = "document_catalog_code")
    private String documentCatalogCode;

    /**
     * 委托人姓名
     */
    @Column(name = "entrust_name")
    private String entrustName;

    /**
     * 法定代表人.负责人姓名
     */
    @Column(name = "entrust_legal_name")
    private String entrustLegalName;

    /**
     * 委托人职务
     */
    @Column(name = "entrust_job")
    private String entrustJob;

    /**
     * 委托人住所
     */
    @Column(name = "entrust_address")
    private String entrustAddress;

    /**
     * 委托人手机号码
     */
    @Column(name = "entrust_mobile")
    private String entrustMobile;

    /**
     * 附件地址
     */
    @Column(name = "appendix_url")
    private String appendixUrl;

    /**
     * 附件名称
     */
    @Column(name = "appendix_name")
    private String appendixName;


    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private LocalDateTime createTime;

    /**
     * '0.失效，1.有效
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 当事人id
     */
    @Column(name = "party_id")
    private String partyId;

    private static final long serialVersionUID = 1L;


}